import { GET_USER_INFO } from "../constanst/user";


export default function user(state = {}, action) {
  switch (action.type) {
    case GET_USER_INFO:
      return  action.payload
    default:
      return state;
    }
}